<template>
    <div>
        <h1>Count:{{ state.count }}</h1>
    </div>
</template>

<script>
import { ref } from "vue";
import { useStore } from "vuex";

export default {
    name: 'Count',
    props: {
    },
    setup() {
        const store = useStore();
        const state = ref(store.state);
        return { state}
    }
}
</script>

<style></style>